.cart-button {
  position: relative;
  padding: 10px;
  width: 200px;
  height: 50px;
  border: 1;
  border-radius: 10px;
  font-weight:100;
  
   /* background-color: #1b1b1c;  */
  /* outline: none; */
  cursor: pointer;
  margin: 0 5px;
  /* color: #fff; */
  transition: 0.3s ease-in-out;
  overflow: hidden;
   user-select: none; 
}

.cart-button:hover {
  
    background-color: #F76725;
    border-color: #F76725;
    color: #FFFFFF;
}
.cart-button:active {
  transform: scale(0.9);
}

.cart-button .fa-shopping-cart {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: -10%;
  font-size: 1em;
  transform: translate(-50%, -50%);
}

.cart-button span {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  font-size: 1.2em;
  /* color: #eeb644; */
  transform: translate(-50%, -50%);
}
.cart-button span.add-to-cart {
  opacity: 1;
}
.cart-button span.added {
  opacity: 1;
}

.cart-button.clicked .fa-shopping-cart {
  animation: cart 1.5s ease-in-out forwards;
}

.cart-button.clicked span.add-to-cart {
  animation: txt1 1.5s ease-in-out forwards;
}
.cart-button.clicked span.added {
  animation: txt2 1.5s ease-in-out forwards;
}
@keyframes cart {
  0% {
    left: -10%;
  }
  40%,
  60% {
    left: 50%;
  }
  100% {
    left: 110%;
  }
}

@keyframes txt1 {
  0% {
    opacity: 1;
  }
  20%,
  100% {
    opacity: 0;
  }
}
@keyframes txt2 {
  0%,
  80% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

